<script setup>
import { ref } from 'vue'
import MaintianScroll from './components/MaintianScroll/index.vue'
import StateBoard from './components/StateBoard/index.vue'
import FaultBar from './components/FaultBar/index.vue'
import WarningScroll from './components/WarningScroll/index.vue'

//维保数据
const maintianList = ref([
    {
        name: '210408',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '机械手',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '1'
    },
    {
        name: '210407',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '传送带',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '2'
    },
    {
        name: '210406',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '传送带',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '1'
    },
    {
        name: '210405',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '机器人',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '2'
    },
    {
        name: '210408',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '机器人',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '1'
    },
    {
        name: '210408',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '机器人',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '1'
    },
    {
        name: '210408',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '机器人',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '1'
    },
    {
        name: '210408',
        xTime: '23.07.10  17:00',
        jTime: '23.07.17  16:20',
        mc: '机器人',
        xh: 'YJCX-12345667',
        bh: 'YJCX-1111111',
        status: '1'
    }
])

const warningList = ref([
    {
        xh: '01',
        xTime: '23.06.21',
        content: 'OP01六轴机器人零点校验',
        status: '1'
    },
    {
        xh: '02',
        xTime: '23.06.21',
        content: 'OP02六轴机器人零点校验',
        status: '2'
    },
    {
        xh: '03',
        xTime: '23.06.21',
        content: 'OP01六轴机器人零点校验',
        status: '1'
    },
    {
        xh: '04',
        xTime: '23.06.21',
        content: 'OP06喷码机喷嘴清洁',
        status: '1'
    },
    {
        xh: '05',
        xTime: '23.06.21',
        content: 'OP06喷码机喷嘴清洁',
        status: '1'
    },
    {
        xh: '06',
        xTime: '23.06.21',
        content: 'OP03视觉镜头清洁',
        status: '2'
    },
    {
        xh: '07',
        xTime: '23.06.21',
        content: 'OP06喷码机喷嘴清洁',
        status: '1'
    },
    {
        xh: '08',
        xTime: '23.06.21',
        content: 'OP05视觉镜头清洁',
        status: '1'
    }
])
</script>

<template>
    <div class="com-bottom-board">
        <MaintianScroll :list="maintianList" />
        <StateBoard />
        <FaultBar />
        <WarningScroll :list="warningList" />
    </div>
</template>

<style scoped lang="scss"></style>
